﻿@model SchoolProject2012.Domain.Entreprise
@{
    ViewBag.Title = "ERP ingesup";
}

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
@using SchoolProject2012.Langue
@using (Html.BeginForm())
{
        <table>
            <tr>
                <td>
                    @Html.LabelFor(x => x.libelle, Resources.lblCompanyName) :
                </td>
                <td>
                    @Html.TextBoxFor(x => x.libelle)
                </td>
                <td></td>
            </tr>
            <tr>
                <td>
                    @Html.LabelFor(x => x.adresse, Resources.lblCompanyAdress) :
                </td>
                <td>
                    @Html.TextBoxFor(x => x.adresse)
                </td>
                <td></td>
            </tr>
            <tr>
                <td>
                    @Html.LabelFor(x => x.cp, Resources.lblCompanyCp) :
                </td>
                <td>
                    @Html.TextBoxFor(x => x.cp)
                </td>
                <td></td>
            </tr>
            <tr>
                <td>
                    @Html.LabelFor(x => x.ville, Resources.lblCompanyVille) :
                </td>
                <td>
                    @Html.TextBoxFor(x => x.ville)
                </td>
                <td></td>
            </tr>
            <tr>
                <td>
                    @Html.LabelFor(x => x.telephone, Resources.lblCompanyTel) :
                </td>
                <td>
                    @Html.TextBoxFor(x => x.telephone)
                </td>
                <td></td>
            </tr>
            <tr>
                <td>
                    @Html.LabelFor(x => x.fax, Resources.lblCompanyFax) :
                </td>
                <td>
                    @Html.TextBoxFor(x => x.fax)
                </td>
                <td></td>
            </tr>
            <tr>
                <td>
                    @Html.LabelFor(x => x.mail, Resources.lblCompanyAdress) :
                </td>
                <td>    
                    @Html.TextBoxFor(x => x.mail)
                    @Html.ValidationMessageFor(x => x.mail)
                </td>
                <td></td>
            </tr>
            <tr>
                <td>
                    @Html.LabelFor(x => x.infoComp, Resources.lblCompanyInfo) :
                </td>
                <td>
                    @Html.TextAreaFor(x => x.infoComp, 4,18,"")
                </td>
                <td></td>
            </tr>
            <tr class="send">
                <td></td>
                <td></td>
                <td style="text-align: right; width: 200px;" ><input style="width:120px;" type="submit" value="Valider" /></td>
            </tr>
        </table>
}